﻿
Imports osi.root.constants
Imports osi.root.connector

Public Module _processor
    Public ReadOnly single_cpu As Boolean
    Public ReadOnly cpu_address_width As Int32
    Public ReadOnly x64_cpu As Boolean
    Public ReadOnly x32_cpu As Boolean

    Sub New()
        single_cpu = (Environment.ProcessorCount() = 1)
        cpu_address_width = IntPtr.Size() * bit_count_in_byte
        x32_cpu = (cpu_address_width = 32)
        x64_cpu = (cpu_address_width = 64)
    End Sub
End Module
